'\" te
.\"  Copyright 1989 AT&T  Copyright (c) 1997, Sun Microsystems, Inc.  All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH XDR 3NSL "Dec 30, 1996"
.SH NAME
xdr \- library routines for external data representation
.SH DESCRIPTION
.sp
.LP
\fBXDR\fR routines allow C programmers to describe arbitrary data structures in
a machine-independent fashion. Data for remote procedure calls (RPC) are
transmitted using these routines.
.SS "Index to Routines"
.sp
.LP
The following table lists \fBXDR\fR routines and the manual reference pages on
which they are described:
.sp
.ne 2
.na
\fB\fBXDR Routine\fR\fR
.ad
.RS 22n
 \fBManual Reference Page\fR
.RE

.sp
.ne 2
.na
\fB\fBxdr_array\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_bool\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_bytes\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_char\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_control\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_destroy\fR\fR
.ad
.RS 22n
.BR xdr_create (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_double\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_enum\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_float\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_free\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_getpos\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_hyper\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_inline\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_int\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_long\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_longlong_t\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_opaque\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_pointer\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_quadruple\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_reference\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_setpos\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_short\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_sizeof\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_string\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_u_char\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_u_hyper\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_u_int\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_u_long\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_u_longlong_t\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_u_short\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_union\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_vector\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_void\fR\fR
.ad
.RS 22n
.BR xdr_simple (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdr_wrapstring\fR\fR
.ad
.RS 22n
.BR xdr_complex (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdrmem_create\fR\fR
.ad
.RS 22n
.BR xdr_create (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdrrec_create\fR\fR
.ad
.RS 22n
.BR xdr_create (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdrrec_endofrecord\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdrrec_eof\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdrrec_readbytes\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdrrec_skiprecord\fR\fR
.ad
.RS 22n
.BR xdr_admin (3NSL)
.RE

.sp
.ne 2
.na
\fB\fBxdrstdio_create\fR\fR
.ad
.RS 22n
.BR xdr_create (3NSL)
.RE

.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(7) for descriptions of the following attributes:
.sp

.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE	ATTRIBUTE VALUE
_
MT-Level	Safe
.TE

.SH SEE ALSO
.sp
.LP
.BR rpc (3NSL),
.BR xdr_admin (3NSL),
.BR xdr_complex (3NSL),
.BR xdr_create (3NSL),
.BR xdr_simple (3NSL),
.BR attributes (7)
